package com.example.entity;

/**
 * @author hongyi
 * @date 2024/1/23 11:23
 */

/*student和admin公共的父类*/
public class Account {
    /*账号*/
    private String username;
    /*密码*/
    private String password;
    /*呢称*/
    private String name;
    /*角色*/  // 用于区分角色是Student 还是 admin
    private String role;

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
